<template>
		<view class="uni-padding-wrap uni-common-mt" >
			<view class="btn-area">
				<navigator url="/pages/staff/Publish_Activity/Publish_Activity" hover-class="navigator-hover" >
				 	<button type="default" class="publish_button">
						<image src="../../../static/icon/tab/活动记录_sel.png" class="picture_form">
								发布活动	
						</image>
                          
						</button>
				</navigator>
					<button type="default" class="state_button" @click="enroll()">
						<image src="../../../static/icon/tab/活动记录.png" class="picture_form">
							    活动状态
						</image>
					</button>
			</view>
		</view>
</template>

<script>
	export default {
		data() {
			return {
				httpurl: getApp().globalData.weburl, //app.vue中定义的全局变量，后端ip地址,
			}
		},
		methods: {
          enroll(){
			  uni.navigateTo({
			  	url:"../State_Page/State_Page"
			  });	
		  }
		},
	}
</script>

<style>
     .publish_button
	 {
		 color: mediumblue;
		 background-color:lightblue;
		 height: 100px;
		 width: 200px;
		 margin-top: 150px;
		 font-size: 30px;
		 text-align: ;
	 }
	 .state_button
	 {
		 background-color: fuchsia;
		 height: 100px;
		 width: 200px;
		 margin-top: 20px;
		 font-size: 30px;
	 }
	 .picture_form
	 {
		 margin-top: 20px;
		 height: 40px;
		 width: 30px;
	 }
</style>
